package com.nuoniu.sibanyun.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小啊刚
 * @since 2020-12-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("scb_sale_type")
@ApiModel(value="ErpSaleType对象", description="")
public class ErpSaleType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账套id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "类别id")
    @TableField("style_id")
    private Integer styleId;

    @ApiModelProperty(value = "类别名称")
    @TableField("style_name")
    private String styleName;

    @ApiModelProperty(value = "编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "是否默认值")
    @TableField("is_default_value")
    private Boolean isDefaultValue;

    @ApiModelProperty(value = "是否参与需求计划运算")
    @TableField("is_demand_plan")
    private Boolean isDemandPlan;

    @ApiModelProperty(value = "搜索关键字")
    @TableField(exist = false)
    private String searchKey;

}
